package com.ruoyi.system.api.mapper;

import com.ruoyi.system.api.domain.StErrorReport;
import java.util.List;

/**
 * error reportMapper接口
 * 
 * @author ruoyi
 * @date 2020-03-05
 */
public interface StErrorReportMapper 
{
    /**
     * 查询error report
     * 
     * @param id error reportID
     * @return error report
     */
    public StErrorReport selectStErrorReportById(Long id);

    /**
     * 查询error report列表
     * 
     * @param stErrorReport error report
     * @return error report集合
     */
    public List<StErrorReport> selectStErrorReportList(StErrorReport stErrorReport);

    /**
     * 新增error report
     * 
     * @param stErrorReport error report
     * @return 结果
     */
    public int insertStErrorReport(StErrorReport stErrorReport);

    /**
     * 修改error report
     * 
     * @param stErrorReport error report
     * @return 结果
     */
    public int updateStErrorReport(StErrorReport stErrorReport);

    /**
     * 删除error report
     * 
     * @param id error reportID
     * @return 结果
     */
    public int deleteStErrorReportById(Long id);

    /**
     * 批量删除error report
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteStErrorReportByIds(String[] ids);
}
